package com.castle.fortress.admin.ai.entity;

import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Date;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
/**
 * ai信息记录表 实体类
 *
 * @author 
 * @since 2024-03-09
 */
@Data
@TableName("ai_record")
public class AiRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键id
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	@TableId(
			value = "id",
			type = IdType.ASSIGN_ID
	)
	private Long id;
	/**
	 * 用户id
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long userId;
	/**
	 * 组id
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long groupId;
	/**
	 * 创建时间
	*/
	private Date createTime;
	/**
	 * 发送内容
	*/
	private String userContent;
	/**
	 * 返回内容
	*/
	private String returnContent;

}
